package com.ddh.service.domain.player.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ddh
 * @since 2025-01-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("solutions")
@ApiModel(value="Solutions对象", description="")
public class Solutions implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "解题id")
    @TableId(value = "solution_id", type = IdType.AUTO)
    private Long solutionId;

    @ApiModelProperty(value = "游戏id")
    @TableField("game_id")
    private Long gameId;

    @ApiModelProperty(value = "解题表达式")
    @TableField("expression")
    private String expression;

    @ApiModelProperty(value = "结果是24才算成功")
    @TableField("result")
    private Integer result;


}
